﻿using B.S.Outsourcing.Domain;
using B.S.Outsourcing.ErrorCode;
using MediatR;

namespace B.S.Outsourcing.Writer.Api.Application.Command
{
    public class CreateOutsourcingCommand:IRequest<ApiResult<int>>
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Abbreviation { get; set; }
        public bool Status { get; set; }
        public string Address { get; set; }
        public string PostalCode { get; set; }
        public string Telephone { get; set; }
        public string Remarks { get; set; }
        public string ContactPerson { get; set; }
        public string Mobile { get; set; }
        public string? Bank {  get; set; }
        /// <summary>
        /// 银行地址及联系电话（组合字段）
        /// </summary>
        public string? BankAddressPhone { get; set; }

        /// <summary>
        /// 企业对公银行账号
        /// </summary>
        public string? AccountNumber { get; set; }

        /// <summary>
        /// 税务登记号（15/18位）
        /// </summary>
        public string? TaxId { get; set; }
        public int IsDelete { get; set; }
    }
}
